package com.yyq.adms.usermanage.pojo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yyq.sos.pojo.BackBaseEntity;

@Entity
@Table(name = "ss_sys_perm")
public class SysPerm  extends BackBaseEntity implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6858375534483519920L;

	//对应数据库字段为: perm_name
	private String permName;
	
	//对应数据库字段为: perm_cname
	private String permCname;
	
	//对应数据库字段为: sts
	private String sts;
	
	//对应数据库字段为: sts_time
	private Date stsTime;
	
	//对应数据库字段为: create_time
	private Date createTime;
	
	//对应数据库字段为: remark
	private String remark;
	
	public String toString() {
		StringBuffer str = new StringBuffer();
		str.append("\r\n权限ID="+this.id);
		str.append("\r\n;权限名称="+this.permName);
		str.append("\r\n;权限中文名="+this.permCname);
		str.append("\r\n;备注="+this.remark);
		str.append("\r\n;状态="+this.sts);
		return str.toString();
	}
	
	/**
	 * 对应数据库字段为: perm_name
	**/
	@Column(name = "perm_name", length = 20)
	public String getPermName()
	{
		return permName;
	}
	
	/**
	 * 对应数据库字段为: perm_name
	**/
	public void setPermName(String permName)
	{
		this.permName = permName;
	}
	
	
	/**
	 * 对应数据库字段为: perm_cname
	**/
	@Column(name = "perm_cname", length = 30)
	public String getPermCname()
	{
		return permCname;
	}
	
	/**
	 * 对应数据库字段为: perm_cname
	**/
	public void setPermCname(String permCname)
	{
		this.permCname = permCname;
	}
	
	
	/**
	 * 对应数据库字段为: sts
	**/
	
	@Column(name = "sts", length = 4)
	public String getSts()
	{
		return sts;
	}
	
	/**
	 * 对应数据库字段为: sts
	**/
	public void setSts(String sts)
	{
		this.sts = sts;
	}
	
	
	/**
	 * 对应数据库字段为: sts_time
	**/
	@Column(name = "sts_time")
	public Date getStsTime()
	{
		return stsTime;
	}
	
	/**
	 * 对应数据库字段为: sts_time
	**/
	public void setStsTime(Date stsTime)
	{
		this.stsTime = stsTime;
	}
	
	
	/**
	 * 对应数据库字段为: create_time
	**/
	
	@Column(name = "create_time")
	public Date getCreateTime()
	{
		return createTime;
	}
	
	/**
	 * 对应数据库字段为: create_time
	**/
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	
	/**
	 * 对应数据库字段为: remark
	**/
	
	@Column(name = "remark",length = 200)
	public String getRemark()
	{
		return remark;
	}
	
	/**
	 * 对应数据库字段为: remark
	**/
	public void setRemark(String remark)
	{
		this.remark = remark;
	}
	
	

}